#ifndef PLUGININTERFACE_T1_V0_H
#define PLUGININTERFACE_T1_V0_H

#include <QString>
#include <QWidget>
#include "PluginDefine.h"

// 定义接口类型和版本号
#define PLUGININTERFACE_T1_V0_TYPE 1
#define PLUGININTERFACE_T1_V0_VERSION 1

//定义接口
class PluginInterface_T1_V0
{
public:
    virtual ~PluginInterface_T1_V0() {}
    virtual PluginInfo* getPluginInfo() = 0;
    virtual QWidget* getWidget() = 0;
};


QT_BEGIN_NAMESPACE
#define PluginInterface_T1_V0_IID "Examples.Plugin.PluginInterface_T1_V0"    // 定义接口的IID
Q_DECLARE_INTERFACE(PluginInterface_T1_V0, PluginInterface_T1_V0_IID)
QT_END_NAMESPACE

#endif // PLUGININTERFACE_T1_V0_H
